#!/bin/bash
host=$1
usrCount=$2
#redis-cli -a redis -h $host lpush   mykey 1
for key in `cat ./conf/key.txt`; do 
	#redis-cli -a redis -h $host lpush  "$key" 1
	for i in $(seq 1 $usrCount); do
		#echo "Push to key:${key} -> ${i}!"
		echo " Push to key ${key} "
		#echo "$i"
		redis-cli -a redis -h $host lpush "$key"  $i
	done
done 
